package com.mybank.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mybank.pojo.TransactionRecord;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;
import java.util.List;

public interface TransactionRecordMapper extends BaseMapper<TransactionRecord> {
    /*@Select("SELECT * FROM \n" +
            "transaction_record \n" +
            "WHERE cardno = '${loginCardNo}' \n" +
            "AND transactionDate>='${startDate}' \n" +
            "AND transactionDate<='${endDate}'\n" +
            "ORDER BY transactionDate ASC\n" +
            "LIMIT ${pageCurrent},${pageSize} ")
    List<TransactionRecord> getPageByCondition(HashMap params);*/

}
